<!DOCTYPE html>
<html lang="en" ng-app="app">
<head>
  <meta charset="UTF-8">
  <title>angular json editor</title>
  <style>
  textarea{
    height: 300px;
    width: 500px;
  }
  </style>
</head>
<body ng-controller="ctrl">
  <json-editor indent="4"></json-editor>
  <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
  <script src="./index.js"></script>
  <script>
  /*global angular*/
  (function(){
    'use strict';
      angular.module('app', ['ngTextEditor']).controller('ctrl', ['$scope', function($scope){}]);
  }());
  </script>
</body>
</html>

